﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-12 17:33:39
// 负责人：Sushee
// ===================================================================

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Component.Model;


namespace OF.Component.IDAL
{
	
	/// <summary>
	/// 数据访问层接口  
	/// </summary>
	internal partial interface IAuthorityUserRoleRela
	{
		
         /// <summary>
    	 /// 根据断言条件获取单个
    	 /// </summary>
    	 AuthorityUserRoleRelaInfo QuerySingle(Expression<Func<AuthorityUserRoleRelaInfo, bool>> predicate);
         /// <summary>
    	 /// 根据断言条件获获取列表
    	 /// </summary>
	     IList<AuthorityUserRoleRelaInfo> QueryList(Expression<Func<AuthorityUserRoleRelaInfo, bool>> predicate);

        /// <summary>
        /// 删除用户角色       
        /// </summary>
        /// <param name="RoleID"></param>
        void DeleteUserRole(int UserID);

        /// <summary>
        /// 获取用户角色名称
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        Dictionary<int, List<string>> GetUserRoleListNameByUserIds(List<int> intUserList);

    } 

	
}